Convert table to objects

Hello,

I was wondering if anyone has used the convert table to object under the DXL libarary?

When I create a test table I have no issues but when running against an existing table I get a "Null Module error" which I have traced down to the following line. When I run this against the table(cell with inlink) I get the name of the module but I get a null error when the "fullName" function is used. I was wondering does this logic need to be update to run correctly under 9.3.0.7 or am I just over looking something?

rowtoobj.inc, line: 233
string sm
for sm in cellObj<-(NLS_("*")) do
{
string srcModName = fullName(module sm)
if ( !open module srcModName ) edit(srcModName, false)
}

-Jim
SystemAdmin - Fri Jan 25 01:45:38 EST 2013

Re: Convert table to objects
llandale - Fri Jan 25 11:43:33 EST 2013

Don't know about that script, but I'm pretty sure that the command:
  • for string in Object<-"*"
gets the BASE name of the linked module. If that module is not in the same folder as the original module, module(name) will fail. that line should use "LinkRef" and open the other module as per the example in the DXL manual.

-Louie